﻿using NPOI.SS.Formula.Functions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace KD.Sms.UI_Query
{
    public partial class frmPreview : Form
    {
        private Bitmap map;
        public frmPreview(string path)
        {
            InitializeComponent();
            DoShowImage(path);
        }

        void DoShowImage( string path)
        {
            try
            {
                map = new Bitmap(path);
                picBefore.BackgroundImage = map;
            }
            catch
            {
                
            }
        }
    }
}
